package com.gjs.common.enums.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import com.gjs.common.enums.IEntityEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserOriginEnum implements IEntityEnum {
    @ApiModelProperty("统一认证平台")
    SSO(10, "统一认证平台"),
    @ApiModelProperty("光盘客户端")
    CD(20, "光盘客户端"),
    ;
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String text;
}
